package com.ruoyi.business.domain.vo;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import com.ruoyi.common.annotation.ExcelDictFormat;
import com.ruoyi.common.convert.ExcelDictConvert;
import lombok.Data;

import java.io.Serializable;

/**
 * 运单视图对象 freight_info
 *
 * @author ruoyi
 * @date 2024-04-24
 */
@Data
@ExcelIgnoreUnannotated
public class FreightInfoVo implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 运单id
     */
    @ExcelProperty(value = "运单id")
    private Long freightId;

    /**
     * 运单id
     */
    @ExcelProperty(value = "运单id")
    private Long orderId;

    /**
     * 订单号(冗余)
     */
    @ExcelProperty(value = "订单号(冗余)")
    private String orderNo;

    /**
     * 是否紧急
     */
    @ExcelProperty(value = "是否紧急")
    private String isUrgency;

    /**
     * 是否异常
     */
    @ExcelProperty(value = "是否异常")
    private String isAbnormal;

    /**
     * 紧急备注
     */
    @ExcelProperty(value = "紧急备注")
    private String urgencyRemark;

    /**
     * 异常备注
     */
    @ExcelProperty(value = "异常备注")
    private String abnormalRemark;

    /**
     * 账号id(当前运单)
     */
    @ExcelProperty(value = "账号id(当前运单)")
    private Long relevanceUserId;

    /**
     * 司机名称
     */
    @ExcelProperty(value = "司机名称")
    private String driverName;

    /**
     * 司机电话
     */
    @ExcelProperty(value = "司机电话")
    private String driverTel;

    /**
     * 司机类型(直营|专线|众包)
     */
    @ExcelProperty(value = "司机类型(直营|专线|众包)")
    private String driverType;

    /**
     * 运单金额
     */
    @ExcelProperty(value = "运单金额")
    private BigDecimal freightAmount;

    /**
     * 运单类型(零担|整车)
     */
    @ExcelProperty(value = "运单类型(零担|整车)")
    private String freightType;

    /**
     * 运单状态(初始化|待提货|配送中|待回单|待打款|已完成)
     */
    @ExcelProperty(value = "运单状态(初始化|待提货|配送中|待回单|待打款|已完成)")
    private String freightStatus;

    /**
     * 备注
     */
    @ExcelProperty(value = "备注")
    private String remark;

    /**
     * 删除标志（0代表存在 1代表删除）
     */
    @ExcelProperty(value = "删除标志", converter = ExcelDictConvert.class)
    @ExcelDictFormat(readConverterExp = "0=代表存在,1=代表删除")
    private Integer isDeleted;

    /**
     * 提货车辆照(03正面)
     */
    @ExcelProperty(value = "提货车辆照(03正面)")
    private String loadingDriverUrl03;

    /**
     * 提货车辆照(04侧面)
     */
    @ExcelProperty(value = "提货车辆照(04侧面)")
    private String loadingDriverUrl04;

    /**
     * 提货车辆照(05后面)
     */
    @ExcelProperty(value = "提货车辆照(05后面)")
    private String loadingDriverUrl05;

    /**
     * 提货货物照
     */
    @ExcelProperty(value = "提货货物照")
    private String loadingGoodsUrl01;

    /**
     * 提货货物照
     */
    @ExcelProperty(value = "提货货物照")
    private String loadingGoodsUrl02;

    /**
     * 提货货物照
     */
    @ExcelProperty(value = "提货货物照")
    private String loadingGoodsUrl03;


    /**
     * 提货重量(t)
     */
    @ExcelProperty(value = "提货重量(t)")
    private Long loadingWeight;

    /**
     * 卸货车辆照(03正面)
     */
    @ExcelProperty(value = "卸货车辆照(03正面)")
    private String receivingDriverUrl03;

    /**
     * 卸货车辆照(04侧面)
     */
    @ExcelProperty(value = "卸货车辆照(04侧面)")
    private String receivingDriverUrl04;

    /**
     * 卸货车辆照(05后面)
     */
    @ExcelProperty(value = "卸货车辆照(05后面)")
    private String receivingDriverUrl05;

    /**
     * 卸货货物照
     */
    @ExcelProperty(value = "卸货货物照")
    private String receivingGoodsUrl01;

    /**
     * 卸货货物照
     */
    @ExcelProperty(value = "卸货货物照")
    private String receivingGoodsUrl02;

    /**
     * 卸货货物照
     */
    @ExcelProperty(value = "卸货货物照")
    private String receivingGoodsUrl03;

    /**
     * 实际装货时间
     */
    @ExcelProperty(value = "实际装货时间")
    private Date loadingTimeDay;

    /**
     * 实际到货时间
     */
    @ExcelProperty(value = "实际到货时间")
    private Date receivingTimeDay;

    /**
     * 车牌号
     */
    @ExcelProperty(value = "车牌号")
    private String driverCarNumber;

    /**
     * 二级中转地址
     */
    @ExcelProperty(value = "二级中转地址")
    private String secondLevelAddress;

    /**
     * 二级中转经度
     */
    @ExcelProperty(value = "二级中转经度")
    private String secondLevelLongitude;

    /**
     * 二级中转纬度
     */
    @ExcelProperty(value = "二级中转纬度")
    private String secondLevelLatitude;

    /**
     * 二级中转联系人
     */
    @ExcelProperty(value = "二级中转联系人")
    private String secondLevelLinkman;

    /**
     * 二级中转联系电话
     */
    @ExcelProperty(value = "二级中转联系电话")
    private String secondLevelTel;

    /**
     * 单号
     */
    @ExcelProperty(value = "单号")
    private String code;

    /**
     * 货物数量(分担多少)
     */
    @ExcelProperty(value = "货物数量(分担多少)")
    private Long goodsNumSum;

    /**
     * 货物数量单位
     */
    @ExcelProperty(value = "货物数量单位")
    private String goodsNumUnit;

    /**
     * 货物重量(吨)(分担多少)
     */
    @ExcelProperty(value = "货物重量(吨)(分担多少)")
    private BigDecimal goodsWeightSum;

    /**
     * 货物体积(分担多少)
     */
    @ExcelProperty(value = "货物体积(分担多少)")
    private BigDecimal goodsVolumeSum;


}
